Carbon


MPProcessors

Header: Multiprocessing.h Carbon status: Supported

Returns the number of processors on the host computer.

ItemCount MPProcessors ();
function result

The number of physical processors on the host computer. 0

DISCUSSION

See also the function MPProcessorsScheduled.

VERSION NOTES

Introduced with Multiprocessing Services 1.0.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)